<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>js与html结合方式</title>
		<!--外部js-->
		<script src="js/a.js"></script>
	</head>
	<body>
		<input type="text" />
		
		
	</body>
		<!--内部js-->
		<script>
			alert("你好");
		</script>
</html>
